import http from "../http";
// import { useUserStore } from '@/store'
// const userStore = useUserStore()


function queryList(params: any = {}) {
	return http.myRequest({
		url: '/chat/notice/queryList',
		method: 'post',
		data: params,
	})
}
function queryById(params: any = {}) {
	return http.myRequest({
		url: '/chat/notice/queryById',
		method: 'post',
		data: params,
		 header: {
		           'Content-Type': 'application/x-www-form-urlencoded'
		       }
	})
}

function getNoticeNoReadNum(params: any = {}) {
	return http.myRequest({
		url: '/chat/notice/getNoticeNoReadNum',
		method: 'post',
		data: params,
	})
}
export default {
	queryList,
	queryById,
	getNoticeNoReadNum
}


